package com.example;

import com.example.protocol.HttpServer;
import com.example.register.LocalRegister;

/**
 * Hello world!
 *
 */
public class Provider
{
    public static void main( String[] args ) {

        LocalRegister.register(HelloService.class.getName(), HelloService.class);

        // Netty, Tomcat
        HttpServer httpServer = new HttpServer();
        httpServer.start("localhost", 8080);

    }
}
